#include <iostream>

using namespace std;

int main()
{
    int num = 0;
    int * ptr = &num;
    while(1)
    {
        cin >> *ptr;
        cout << endl << num << endl;
    }
    return 0;
}
